#include "jianzhi/3.h"
#include "gtest/gtest.h"

TEST(TestJianzhiSolutions, TestProblem3)
{
    jianzhi_3::Solution s;
    vector<int> nums{2, 3, 1, 0, 2, 5, 3};
    ASSERT_EQ(s.findRepeatNumber(nums), 2);
}